﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace BodyTrain
{
    public static class Constants
    {
        #region 定义常量

        //Kinect DPI每英寸点数、分辨率
        public static readonly double DPI = 96.0;

        //默认格式
        public static readonly PixelFormat FORMAT = PixelFormats.Bgr32;

        //每一个像素的位数
        public static readonly int BYTES_PER_PIXEL = (FORMAT.BitsPerPixel + 1) / 8;

        #endregion
    }
}
